#!/bin/sh

# Notifies RSS
htpc-event --add "Download finished" "Download file $2 saved at $3/$2"
# Auto download english subtitles
sub-daemon --add "$3/$2" en
# Notifies XBMC
which xbmc-send
if [ $? -eq 0 ]; then
  xbmc-send -a "UpdateLibrary(video)"
fi

